package com.study.bootstudy.entity;

import cn.hutool.core.date.DateUtil;

/**
 * @Author RenPu
 * @Date 2023/10/10 22:03
 * @Version 1.0
 * @Description:
 **/
public class Test {

    public static void main(String[] args) {

        BaoMa baoMa = new BaoMa("3123123","宝马X5旗舰版", DateUtil.now(),"GB202310SHBZ",true,false);

        String carId = baoMa.getCarId();

        System.out.println("宝马各种配置参数详情:::"+baoMa+"carId ::::"+carId);
        baoMa.run();

        Vechile benchi = new BenChi("3123123213","奔驰E300立标豪华版",DateUtil.now(),"GB202308SHBZ","京A88668866",true,true);

        System.out.println("奔驰各种配置参数详情:::"+benchi);

        benchi.run();


    }
}
